import request from '~/utils/request'

export default {
  getTeacherList() {
    /**
     * 获取讲师列表
     */
    return request({
      url: '/service-edu/api/front/teacher/list',
      method: 'get'
    })
  },
  /**
   * 根据id查询讲师详情
   * @param {*} id
   * @returns
   */
  getTeacherInfo(id) {
    return request({
      url: `/service-edu/api/front/teacher/teacherInfo/${id}`,
      method: 'get'
    })
  }
}
